import android.view.Gravity
import android.widget.Toast
import androidx.annotation.StringRes
//import com.asman.base.BuildConfig
//import com.asman.base.MyApplication.Companion.context
//import com.asman.base.utils.ActivityUtils

// todo showtoast

fun showToast(msg: CharSequence) {
    /*ActivityUtils.get().getTopActivity()?.runOnUiThread {
        val toast = Toast.makeText(context, msg, Toast.LENGTH_SHORT)
        toast.setGravity(Gravity.CENTER, 0, 0)
        toast.show()
    }*/
    print(msg)
}

fun showToast(@StringRes resId: Int) {
//    showToast(context.resources.getText(resId))
    print(resId)
}
